package com.rory.tiny.modules.pms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rory.tiny.common.api.CommonResult;
import com.rory.tiny.modules.pms.dto.request.ConsultingFeeRequestDTO;
import com.rory.tiny.modules.pms.dto.response.ConsultingFeeResponseDTO;
import com.rory.tiny.modules.pms.model.PmsConsultingFee;

import java.math.BigDecimal;

/**
 * <p>
 * 咨询费用计算依据表 服务类
 * </p>
 *
 * @author rory
 * @since 2022-10-04
 */
public interface PmsConsultingFeeService extends IService<PmsConsultingFee> {

	/**
	 * 咨询费计算
	 *
	 * @param consultingFeeRequestDTO
	 * @return {@link CommonResult< BigDecimal>}
	 * @author zhangzedi
	 * @date 2022/10/4 10:58
	 */
	CommonResult<ConsultingFeeResponseDTO> calculationFee(ConsultingFeeRequestDTO consultingFeeRequestDTO);
}
